package com.ruoyi.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生试卷答案对象 t_exam_paper_answer
 *
 * @author Bandit
 * @date 2022-11-01
 */
public class TExamPaperAnswer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 回答的试卷id */
    @Excel(name = "回答的试卷id")
    private Long examPaperId;

    /** 答卷的用户id */
    @Excel(name = "答卷的用户id")
    private Long answerUserId;

    /**
     * 答卷用户名称
     */
    private String answerUserName;

    /** 回答正确题数 */
    @Excel(name = "回答正确题数")
    private Long questionCorrect;

    /** 最终得分 */
    @Excel(name = "最终得分")
    private Long score;

    /** 试卷总分 */
    @Excel(name = "试卷总分")
    private Long paperScore;

    /** 试卷状态1待判分，2完成 */
    @Excel(name = "试卷状态1待判分，2完成")
    private Long status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setExamPaperId(Long examPaperId)
    {
        this.examPaperId = examPaperId;
    }

    public Long getExamPaperId()
    {
        return examPaperId;
    }
    public void setAnswerUserId(Long answerUserId)
    {
        this.answerUserId = answerUserId;
    }

    public Long getAnswerUserId()
    {
        return answerUserId;
    }
    public void setQuestionCorrect(Long questionCorrect)
    {
        this.questionCorrect = questionCorrect;
    }

    public Long getQuestionCorrect()
    {
        return questionCorrect;
    }
    public void setScore(Long score)
    {
        this.score = score;
    }

    public Long getScore()
    {
        return score;
    }
    public void setPaperScore(Long paperScore)
    {
        this.paperScore = paperScore;
    }

    public Long getPaperScore()
    {
        return paperScore;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    public String getAnswerUserName() {
        return answerUserName;
    }

    public void setAnswerUserName(String answerUserName) {
        this.answerUserName = answerUserName;
    }

    @Override
    public String toString() {
        return "TExamPaperAnswer{" +
                "id=" + id +
                ", examPaperId=" + examPaperId +
                ", answerUserId=" + answerUserId +
                ", answerUserName='" + answerUserName + '\'' +
                ", questionCorrect=" + questionCorrect +
                ", score=" + score +
                ", paperScore=" + paperScore +
                ", status=" + status +
                '}';
    }
}
